/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}
a {
  color: #666;
  vertical-align: baseline;
  text-decoration: none;
  font-size: 100%;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
}
a,
input {
  outline: none;
}
a:hover,
a:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

/* PC端导航鼠标悬停显示菜单 */
        .desktop-menu .nav-item.dropdown:hover .dropdown-menu {
            display: block;
            margin-top: 0;
        }
/* 导航栏样式 */
.navbar {
    height: 60px;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    margin-right: 0.1rem;
}

.logo {
    height: 30px;
    width: auto;
}

.nav-link {
    color: #000 !important;
    font-size: 14px;
    padding: 0 12px !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0066cc !important;
}

/* 移除PC端导航菜单的下拉箭头 */
.desktop-menu .nav-item.dropdown .nav-link::after {
    display: none !important;
}

/* 导航栏内部布局调整 */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.desktop-menu {
    flex: 1;
    justify-content: center;
}

/* 搜索按钮样式 */
.search-button {
    margin-left: 5px;
}

/* 语言切换下拉菜单样式 - 提高优先级 */
.language-dropdown {
    margin-left: 15px;
    position: relative;
}

.language-toggle {
    background: none;
    border: none;
    padding: 0;
    outline: none;
}

.language-toggle:focus {
    box-shadow: none;
}

/* 修复语言切换下拉菜单位置 */
.language-dropdown .dropdown-menu.language-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    min-width: 120px;
    padding: 0;
    margin-top: 5px;
    z-index: 1050;
    background-color: white !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* 下拉菜单样式 */
.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin-top: 0;
    min-width: 150px;
    display: none; /* 确保默认隐藏 */
}

.multi-column {
    min-width: 500px;
    width: auto;
}

.dropdown-menu.show {
    display: block; /* 当添加show类时显示 */
}

.dropdown-menu .row {
    width: 100%;
    margin: 0;
}

.dropdown-menu .col-md-3,
.dropdown-menu .col-md-4,
.dropdown-menu .col-md-6 {
    padding: 0 15px;
    min-width: 160px; /* 确保每列有最小宽度 */
}

/* 修复联系我们下拉菜单的对齐问题 */
.nav-item:last-child .dropdown-menu {
    right: 0;
    left: auto;
}

/* 确保下拉菜单内部元素左右间距对称 */
.dropdown-header {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.dropdown-item {
    padding: 8px 0;
    font-size: 14px;
    color: #000;
    transition: color 0.2s ease;
    display: block;
    width: 100%;
}

.dropdown-item:hover {
    background-color: transparent;
    color: #0066cc;
}

/* 语言下拉菜单项样式 */
.language-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    white-space: nowrap;
    width: 100%;
}

.language-dropdown-menu .flag-icon {
    margin-right: 8px;
    width: 20px;
    height: 15px;
}

/* 移动端导航按钮布局调整 */
@media (max-width: 767px) {
    .navbar > .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* 导航按钮容器 */
    .mobile-nav-buttons {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    /* 隐藏PC端搜索按钮和语言切换菜单 */
    #search-btn,
    .language-dropdown {
        display: none !important;
    }
    
    /* 移动端菜单按钮样式 */
    #mobile-menu-btn {
        margin: 0;
        padding: 0.2rem;
    }
    
    /* 确保导航栏元素正确排列 */
    .navbar-brand {
        flex-shrink: 0;
    }
    
    /* 语言下拉菜单样式 */
    .language-dropdown .dropdown-menu.language-dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: auto !important;
        width: 150px !important;
        margin-top: 5px;
        background-color: white !important;
        border: 1px solid rgba(0,0,0,0.1) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        border-radius: 0 !important;
        transform: none !important;
        padding: 0 !important;
    }
}

/* 语言切换按钮 */
.language-switcher {
    display: flex;
    margin-left: auto;
    margin-right: 1rem;
}

.language-btn {
    padding: 0 8px !important;
}

.flag-icon {
    width: 20px;
    height: 16px;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.language-btn:hover .flag-icon {
    transform: scale(1.1);
}

.language-btn.active .flag-icon {
    border: 1px solid #0066cc;
}

/* 搜索按钮 */
.search-button {
    padding: 0 12px !important;
}

.search-button i {
    font-size: 18px;
}

/* 移动端菜单样式 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-logo img {
    height: 28px;
    width: auto;
}

.close-mobile-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

.mobile-menu-link i {
    font-size: 14px;
    color: #999;
}

/* 移动端子菜单样式 */
.mobile-submenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-submenu.active {
    transform: translateX(0);
}

.mobile-submenu-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.back-to-main-menu {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #000;
    font-size: 16px;
    cursor: pointer;
}

.back-to-main-menu i {
    margin-right: 8px;
    font-size: 14px;
}

.mobile-submenu-list {
    padding: 0;
    margin: 0;
}

.mobile-submenu-group {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-submenu-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-submenu-item {
    display: block;
    padding: 8px 0;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.mobile-submenu-item:hover {
    color: #0066cc;
}

/* 搜索覆盖层样式 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1060;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.search-overlay.active {
    transform: translateY(0);
}

.search-content {
    padding: 20px;
    text-align: center;
}

.close-search-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.search-input-wrapper {
    max-width: 800px;
    margin: 60px auto 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    font-size: 18px;
    border: none;
    border-bottom: 2px solid #0066cc;
    outline: none;
}

.search-submit-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    color: #000;
    cursor: pointer;
}

.search-suggestions {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.search-suggestions h6 {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.search-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: #f5f5f5;
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-tag:hover {
    background-color: #e0e0e0;
}

/* 轮播样式 */
.carousel {
    margin-top: 60px;
}

.carousel-item {
    height: calc(100vh - 60px);
    min-height: 1200px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    bottom: 30%;
    text-align: center;
}

.carousel-caption h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 18px;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 60% 60%;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators .active {
    background-color: #fff;
}

/* 产品展示样式 */
.products-section,.news-section,.product-detail-section,.news-detail-section {
    padding: 70px 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
    overflow: hidden;
}

.product-image img {
    width: 90%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}
.product-description img {
    max-width: 100%;
    height: auto;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.product-link:hover {
    color: #004c99;
}

.product-link i {
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.product-card:hover .product-link i {
    transform: translateX(4px);
}

/* 特色内容样式 */
.features-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.features-image img {
    width: 100%;
    border-radius: 8px;
}

.features-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.features-intro {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
}

.feature-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.feature-text p {
    font-size: 14px;
    color: #666;
}

/* 客户评价样式 */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    padding: 32px;
    background-color: #f8f8f8;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 16px;
    margin-right: 4px;
}

.testimonial-text {
    font-size: 16px;
    color: #000;
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 联系我们样式 */
.contact-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.contact-form {
    background-color: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 12px 0;
    margin-bottom: 24px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: #0066cc;
    box-shadow: none;
}

.contact-form .form-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.contact-form .btn-primary {
    background-color: #0066cc;
    border: none;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.contact-form .btn-primary:hover {
    background-color: #004c99;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
}

.contact-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.contact-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.social-links h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #000;
    border-radius: 50%;
    margin-right: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-4px);
}

.social-link i {
    font-size: 18px;
}

/* 页脚样式 */
.footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
}

/* 页脚主要内容区域 */
.footer-main-content {
    margin-bottom: 40px;
}

.footer-contact-block {
    height: 100%;
    padding: 20px;
    transition: transform 0.3s ease;
}

.footer-contact-block:hover {
    transform: translateY(-5px);
}

.footer-icon {
    font-size: 32px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-contact-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-text {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
}

.qr-code-img {
    width: 80px;
    height: 80px;
    border: 2px solid #333;
    border-radius: 8px;
    background-color: #fff;
    padding: 4px;
    transition: transform 0.3s ease;
}

/* .qr-code-img:hover {
    transform: scale(1.1);
} */

.footer-logo img {
    height: 30px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display:flex;
}

.footer-link {
    display: block;
    padding: 3px 0;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-tlink {
    display: block;    
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-tlink:hover {
    color: #fff;
}


.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    padding: 6px 0;
    color: #999;
    font-size: 14px;
}

.footer-contact-item i {
    margin-right: 12px;
    color: #666;
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    margin-right: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: #0066cc;
    transform: translateY(-4px);
}

.social-icon i {
    font-size: 16px;
}

.copyright-text {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal li {
    margin-left: 20px;
}

.legal-link {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: #fff;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #004c99;
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .multi-column {
        min-width: 600px;
    }
    
    .dropdown-menu .col-md-3,
    .dropdown-menu .col-md-4,
    .dropdown-menu .col-md-6 {
        padding: 0 12px;
    }
}

@media (max-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }
    
    .language-switcher {
        margin-left: 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 36px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-title {
        font-size: 32px;
    }
    
    .product-image img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
    
    .carousel-caption h1 {
        font-size: 28px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .features-title {
        font-size: 28px;
    }
    
    .features-intro {
        font-size: 16px;
    }
    
    .feature-icon,
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i,
    .contact-icon i {
        font-size: 16px;
    }
    
    .feature-text h3,
    .contact-text h3 {
        font-size: 18px;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 16px;
    }
    
    .footer-legal li {
        margin: 0 10px;
    }
}

/* 新版页脚响应式样式 */
@media (max-width: 1200px) {
    .footer-contact-block {
        padding: 15px;
    }
    
    .qr-code-img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 992px) {
    .footer-contact-block {
        margin-bottom: 30px;
    }
    
    .footer-icon {
        font-size: 28px;
    }
    
    .footer-contact-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .footer-main-content {
        margin-bottom: 20px;
    }
    
    .footer-contact-block {
        padding: 15px;
        text-align: center;
    }
    
    .footer-icon {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .footer-contact-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .footer-contact-text {
        font-size: 12px;
    }
    
    .qr-code-img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-main-content .col-lg-2 {
        margin-bottom: 25px;
    }
    
    .footer-contact-block {
        padding: 10px;
    }
    
    .footer-icon {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .footer-contact-title {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .footer-contact-text {
        font-size: 11px;
    }
    
    .qr-code-img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .navbar {
        height: 56px;
    }
    
    .carousel {
        margin-top: 56px;
    }
    
    .carousel-item {
        height: 30vh;
        min-height: 300px;
    }
    
    .carousel-caption {
        bottom: 10%;
    }
    
    .carousel-caption h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .carousel-caption p {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 28px;
        height: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    .features-title {
        font-size: 24px;
    }
    
    .features-intro {
        font-size: 14px;
    }
    
    .product-image img {
        height: 180px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top i {
        font-size: 16px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 加载状态 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 按钮样式 */
.btn {
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-primary {
    background-color: #0066cc;
    border: none;
}

.btn-primary:hover {
    background-color: #004c99;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-outline-primary {
    border-color: #0066cc;
    color: #0066cc;
}

.btn-outline-primary:hover {
    background-color: #0066cc;
    border-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}
/* 移动端搜索按钮和语言切换按钮样式 */
.mobile-language-dropdown {
  position: relative;
}

#mobile-search-btn {
  display: none;
}

.mobile-language-dropdown {
  display: none;
}

/* 移动端导航按钮布局调整 */
@media (max-width: 767px) {
  /* 显示移动端搜索按钮和语言切换菜单 */
  #mobile-search-btn,
  .mobile-language-dropdown {
    display: flex !important;
    align-items: center;
  }
  
  /* 移动端语言下拉菜单样式 */
  .mobile-language-dropdown .dropdown-menu.language-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    width: 150px !important;
    margin-top: 5px;
    background-color: white !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border-radius: 0 !important;
    transform: none !important;
    padding: 0 !important;
    z-index: 1050;
  }
}

/* PC端样式 */
@media (min-width: 768px) {
  /* 隐藏移动端按钮 */
  #mobile-search-btn,
  .mobile-language-dropdown {
    display: none !important;
  }
  
  /* 确保PC端按钮显示在右侧 */
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .search-button,
  .language-dropdown {
    display: flex !important;
    align-items: center;
  }
}